import request from '@/utils/request'

/**
 * 获取设置
 */
export function getSetting() {
  return request({
    url: '',
    method: 'post'
  })
}

/**
 * 获取仪表盘数据
 */
export function getDashboard() {
  return request({
    url: '/dashboard',
    method: 'post'
  })
}

/**
 * 获取访问数据
 */
export function getVisit() {
  return request({
    url: '/dashboard/getVisit',
    method: 'post'
  })
}

/**
 * 获取页脚信息
 */
export function getFooterMsg() {
  return request({
    url: '/dashboard/getFooterMsg',
    method: 'post'
  })
}

/**
 * 设置系统调试
 */
export function setSystemDebug() {
  return request({
    url: '/dashboard/setSystemDebug',
    method: 'post'
  })
}
